const JsxModel = require('./plugins/babel-plugin-react-model')

module.exports = {
    presets: [
        "@babel/preset-react",
        "@babel/preset-env",
        "@babel/preset-typescript"
    ],
    plugins: [
        JsxModel,
        [
            "@babel/plugin-transform-runtime",
            {
                "corejs": 3 // 指定 runtime-corejs 的版本，目前有 2 3 两个版本
            }
        ]
    ]
}